package com.project.naberboard.vo;

import java.util.Date;

public class BoardVo {

	private int seq;
	private int rep;
	private int step;
	private int depth;
	private int parent;
	private int del;
	private String id;
	private String password;
	private String title;
	private String content;
	private Date mdate;

	public BoardVo() {
		super();
	}

	public BoardVo(int seq, int rep, int step, int depth, int parent, int del,
			String id, String password, String title, String content, Date mdate) {
		super();
		this.seq = seq;
		this.rep = rep;
		this.step = step;
		this.depth = depth;
		this.parent = parent;
		this.del = del;
		this.id = id;
		this.password = password;
		this.title = title;
		this.content = content;
		this.mdate = mdate;
	}

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public int getRep() {
		return rep;
	}

	public void setRep(int rep) {
		this.rep = rep;
	}

	public int getStep() {
		return step;
	}

	public void setStep(int step) {
		this.step = step;
	}

	public int getDepth() {
		return depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public int getParent() {
		return parent;
	}

	public void setParent(int parent) {
		this.parent = parent;
	}

	public int getDel() {
		return del;
	}

	public void setDel(int del) {
		this.del = del;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getMdate() {
		return mdate;
	}

	public void setMdate(Date mdate) {
		this.mdate = mdate;
	}

	public String toString() {
		return "BoardVo [seq=" + seq + ", rep=" + rep + ", step=" + step
				+ ", depth=" + depth + ", parent=" + parent + ", del=" + del
				+ ", id=" + id + ", password=" + password + ", title=" + title
				+ ", content=" + content + ", mdate=" + mdate + "]";
	}

	/*
	 * CREATE TABLE NABERUSER( 
	 * ID VARCHAR2(20 BYTE) NOT NULL ,
	 *  EMAIL VARCHAR(60 BYTE) NOT NULL, 
	 *  PASSWORD VARCHAR2(20 BYTE),
	 *   NAME VARCHAR2(20 BYTE),
	 * ADDRESS VARCHAR2(60 BYTE), 
	 * CONSTRAINT NABERUSER_PK PRIMARY KEY (ID) ) ;
	 * CREATE TABLE NABERBOARD ( 
	 * SEQ NUMBER NOT NULL,
	 * REF NUMBER, STEP NUMBER,
	 * DEPTH NUMBER,
	 * PARENT NUMBER, 
	 * DEL NUMBER, 
	 * ID VARCHAR2(20 BYTE), 
	 * PASSWORD VARCHAR2(20 BYTE), 
	 * TITLE VARCHAR2(200 BYTE), 
	 * CONTENT VARCHAR2(400 BYTE),
	 * MDATE DATE, CONSTRAINT NABERBOARDP_PK PRIMARY KEY (SEQ), 
	 * CONSTRAINT NABERUSER_BOARDREP_FK FOREIGN KEY (ID) REFERENCES NABERUSER (ID) );
	 * 
	 * CREATE SEQUENCE SEQ_NABERBOARD START WITH 1 INCREMENT BY 1;
	 */
}
